package com.wjerp.tplus.server.common.model;

import com.wjerp.tplus.server.domain.entity.sys.PermissionInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @author lishuailei
 */
@Data
@ToString
@ApiModel("角色信息")
public class RoleInfoWrapper {

    @ApiModelProperty("角色ID")
    private Long id;

    @ApiModelProperty("角色名称")
    private String name;
    @ApiModelProperty("描述")
    private String description;

    @ApiModelProperty("权限列表")
    private List<PermissionInfo> permissionInfoList=new ArrayList<>();

    @ApiModelProperty("权限ID集合")
    private String permissionIds;
}
